<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>表单</title>
  <style>
    div {
      margin: 10px 0;
    }
  </style>
</head>
<body>

<div id="app">
  <label for="name">姓名：</label>
  <input id="name" type="text" v-model="form.name"/>

  <label for="info">信息：</label>
  <textarea id="info" v-model="form.info"></textarea>
</div>

<script src="../lib/vue.js"></script>
<script>
  let vm = new Vue({
    el: '#app',
    data: {
      form: {
        name: '',
        info: ''
      },
    }
  })
</script>


</body>
</html>